﻿using System;
using System.Collections.Generic;
using System.Web;

namespace SaleManagement.DTO
{
    public class Suppliers
    {
        //instance field
        private int SupplierID;

        public int supplierID
        {
            get { return SupplierID; }
            set { SupplierID = value; }
        }
        private string Company;

        public string company
        {
            get { return Company; }
            set { Company = value; }
        }
        private string Address;

        public string address
        {
            get { return Address; }
            set { Address = value; }
        }
        private string City;

        public string city
        {
            get { return City; }
            set { City = value; }
        }
        private string Country;

        public string country
        {
            get { return Country; }
            set { Country = value; }
        }
        private string Phone;

        public string phone
        {
            get { return Phone; }
            set { Phone = value; }
        }
        private string Fax;

        public string fax
        {
            get { return Fax; }
            set { Fax = value; }
        }
        private string Homepage;

        public string homepage
        {
            get { return Homepage; }
            set { Homepage = value; }
        }

        //Constructor without parameter
        public Suppliers() { }

        //Constructor with parameter
        public Suppliers(int SupplierID,string Company,string Address,string City,
                            string Country,string Phone,string Fax,string Homepage) 

        {
            this.SupplierID = SupplierID;
            this.Company = Company;
            this.Address = Address;
            this.City = City;
            this.Country = Country;
            this.Phone = Phone;
            this.Fax = Fax;
            this.Homepage = Homepage;
        }
    }

}